import {
  Home,
  Login,
  Register,
  UserRead,
  ForgetPassword,
  Inquiry,
  InquiryIssue,
  ShoppingCart,
} from '../pages';

const routes = [
  {
    path: '/',
    component: Home,
    exact: true,
    meta: {
      title: '首页',
    },
  },
  {
    path: '/login',
    component: Login,
    meta: {
      title: '登录',
    },
  },
  {
    path: '/Register',
    component: Register,
    meta: {
      title: '注册',
    },
  },
  {
    path: '/ForgetPassword',
    component: ForgetPassword,
    meta: {
      title: '忘记密码',
    },
  },
  {
    path: '/UserRead',
    component: UserRead,
    meta: {
      title: '用户协议',
    },
  },

  {
    path: '/InquiryIssue',
    component: InquiryIssue,
    meta: {
      title: '发布询价',
    },
  },
  {
    path: '/Inquiry',
    component: Inquiry,
    meta: {
      title: '询价单',
    },
  },
  {
    path: '/ShoppingCart',
    component: ShoppingCart,
    meta: {
      title: '购物车',
    },
  },
];
export default routes;
